/**
 * Created by PVer on 2019-11-18.
 */
import axios from '@/libs/api.request'

export const del = (id) => {
  return axios.request({
    url: 'StoreUser/del',
    method: 'get',
    params:{id:id}
  })
};
export const getByNickName = (nickname) => {
  return axios.request({
    url: 'StoreUser/getByNickName',
    method: 'get',
    params:{nickname:nickname}
  })
};
export const save = (data) => {
  return axios.request({
    url: 'StoreUser/save',
    method: 'post',
    data
  })
};
export const getList = (params) => {
  return axios.request({
    url: 'StoreUser/list',
    method: 'get',
    params:params
  })
};
